/*
Theme Name: 	BuddyBoss Child
Theme URI: 		https://www.buddyboss.com/
Description: 	A child theme of BuddyBoss Theme. To ensure easy updates, make your own edits in this theme.
Author: 		BuddyBoss.com
Author URI: 	https://www.buddyboss.com/
License: 		GNU General Public License v3 or later
License URI: 	http://www.gnu.org/licenses/gpl-3.0.html
Template: 		buddyboss-theme
Version: 		1.0.0
*/

/*

-- Stylesheet locations --

Add your own customizations into /css/custom.css in this child theme.

Parent styles are called from /buddyboss-theme/inc/theme/functions.php in the 
parent theme and are located in /buddyboss-theme/assets/css/ in the parent theme.


--- If you are editing CSS via the WordPress admin, do the following ---

1. Install the plugin WP Editor: http://wordpress.org/plugins/wp-editor/
2. Navigate to Appearance > Theme Editor in the WordPress admin.
3. Navigate into the /css/ folder of your child theme to edit custom.css.

*/

/* Hide certificate shortcode banner only on single course pages */
.single-sfwd-courses ul.bb-course-volume-list li:last-child{
    display: none !important;
}

/* Make image wrapper relative */
.bb-course-cover {
    position: relative;
}

/* Hide badge from lesson line (optional spacing fix) */
.bb-course-completed .course-lesson-count {
    position: relative;
}

/* Move completion badge to image center-bottom */
/*.course-completed-badge{
    position: absolute;
    transform: translateX(-50%);
    padding: 6px;
    border-radius: 50%;
    z-index: 10;
}*/
.course-dir-list .bb-course-items.grid-view .course-completed-badge{
	top:111px;
	left: 50%;
	position: absolute;
    transform: translateX(-50%);
    padding: 6px;
    border-radius: 50%;
    z-index: 10;
}
.course-dir-list .bb-course-items.list-view .course-completed-badge{
	right: 4%;
	position: absolute;
    transform: translateX(-50%);
    padding: 6px;
    border-radius: 50%;
    z-index: 10;
}
.single-course-completed-badge {
    position: absolute;
    top: -30px;              /* half upar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
}

.single-course-completed-badge img {
    width: 70px;             /* adjust as needed */
    height: auto;
    display: block;
}
.single-sfwd-courses .bb-course-preview-wrap,
.thumbnail-container {
    position: relative;
}
/* Badge image sizing */
.course-completed-badge img{
    width: 42px;
    height: auto;
    display: block;
}
.main_site_logout_class span.ld-status.ld-status-incomplete.ld-third-background.ld-text {
    display: none !important;
}
.main_site_logout_class .learndash-wrapper.learndash-wrap.learndash-shortcode-wrap{
	display:none;
}
.main_site_logout_class .bb-ld-tabs .learndash-wrapper.learndash-wrap.learndash-shortcode-wrap{
	display:block;
}
#bigcalendar1 {
    width: 100% !important;
}
img.user_badges_listng {
    width: 10%;
}
.ld-achievements .ld-achievement-items .ld-achievement-image {
    margin: 0 5px 5px 0;
}
.ld-achievements .ld-achievement-items {
    display: block!important;
}
.ays_content_box > p {
    display: none;
}
.fluentform .ff-el-group {
    margin-bottom: 15px;
}
.fluentform .ff-el-input--label {
    	float: left;
}
.ff-default .ff-el-input--label label{
	font-size:14px;
}
.fluentform .ff-el-form-control{
	height:36px;
}
.ff-el-group.ff-custom_html > p,.frm-fluent-form.ff-el-form-top.ffs_default{
	margin-bottom: 0px;
}
.primary-menu a {
    font-size: 0.995rem !important;
}
.learndash-course-visitor-message > .vc_row:first-child {
    	display: none;
}
.learndash-course-visitor-message .no_access_user_course_page .vc_col-sm-8 {
    	width: 100%;
}
.learndash-course-visitor-message .no_access_user_course_page .side-bar-btn.vc_col-sm-4{
	display:none;
}
.page-template-all-courses .ld-course-list-content .ld-course-list-items {
    max-width: 1200px;
    margin: 0 auto;
}
.user_timer_history_front {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.manage_group_list .manage_group_article .single_blog {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.manage_group_list .manage_group_article .single_blog .list_item {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    height: auto;
    margin-bottom: 0;
    border-radius: 25px;
    padding: 15px 15px 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.manage_group_article .single_blog .list_item {
    background-color: #fff;
    padding: 15px;
    text-align: center;
    box-shadow: 4px 4px 4px #fff;
    margin-bottom: 15px;
}
.manage_group_article .single_blog .list_item:hover {
    transform: scale(1.05);
}
.manage_group_list .manage_group_article .single_blog .list_item .blog_content > span {
    display: inline-block;
}
.manage_group_list .manage_group_article .single_blog .list_item .blog_content > span > a {
    border: 2px solid #00a6dc;
    color: #00a6dc;
    border-radius: 4px;
    padding: 8px 25px;
    letter-spacing: 0.4px;
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
}
.bb-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin:0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
}

/* Hide by default */
.bb-modal:not(.active) {
    display: none !important;
}

/* Modal box */
.bb-modal-content {
    background: #fff;
    width: 90%;
    max-width: 650px;
    max-height: 80vh;
    overflow-y: auto;

    border-radius: 12px;
    padding: 20px;

    /* SAFETY RESET */
    position: relative !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

/* Lock background scroll */
body.bb-modal-open {
    overflow: hidden;
}
.page-template-all-users .alluser-block.subsite-dashboard-block ul li {
    margin-left: 36px;
}
.user-email-history .custom-new-modal .bb-modal-header {
    display: flex;
    align-items: center;
}
.user-email-history .custom-new-modal .bb-modal-header button.bb-close {
    flex-basis: 5%;
    order: 3;
    font-size: 30px;
    color: #000;
    font-size: 30px;
    padding: 0px 10px;
    margin-left: auto;
    opacity: 0.2;
    text-shadow: 0 1px 0 #fff;
    font-weight: 700;
    background: inherit !important;
}
.user-email-history .custom-new-modal .bb-modal-header .modal_print_allusers {
    margin-left: auto;
}
.user-email-history .bb-modal-footer button.bb-button {
    float: right;
    margin: 10px 0 0 0;
}
.user-email-history .custom-new-modal h4 {
    text-align: center;
    margin: 8px 0px;
}
.entry-header {
    display: none;
}
.custom_home_cls .banner-img {
    height: 450px;
}
.custom_home_cls .banner-img {
    background-position: top !important;
}
.home-banner-heading {
    font-size: 62px !important;
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
}
.home-banner-sub-heading {
    font-family: 'Russo One', sans-serif !important;
    z-index: 9;
    position: relative;
}
.under-line-yellow {
    position: relative;	
	line-height: 1.7;
 	margin: 21px 0 !important;
}
.under-line-yellow:after {
    background: #f87f0b;
    height: 4px;
    content: "";
    width: 130px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    bottom: 0;
}
.image-size-80 img {
    width: 75%;
}
.max-width-section .wpb_wrapper {
    max-width: 1140px;
    margin: 0 auto;
    z-index: 9;
}
.position-section p {
    position: absolute;
    bottom: 0;
    margin: 0;
    background: #062244;
    color: #fff;
}
.mx-auto {
    display: flex;
    justify-content: center;
}
.small-img img {
    width: 120px;
}
.font-18 {
    font-size: 18px;
}
.position-section .wpb_single_image {
    margin-bottom: 0;
}
.position-section p a {
    padding: 10px 20px;
    display: block;
}
.bg_blue_btn button, .bg_blue_btn {
    background: #2fa6dc !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 600;
    padding: 18px 70px;
    border-radius: 4px;
    cursor: pointer;
}
.bg_orange_btn {
    background: #F87F0B !important;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 17px 30px;
    width: auto;
}
.text-white p {
    color: #fff;
}
.custom_calendar #afterbig1 .top_table, .custom_calendar #bigcalendar1 .top_table {
    background: #012243 !important;
}
.custom_calendar #afterbig1 .weekdays, .custom_calendar #bigcalendar1 .weekdays {
    padding-left: 15px !important;
    background: rgb(219, 102, 0) !important;
}
.custom_calendar #afterbig1 .general_table table #days td, .custom_calendar #bigcalendar1 .general_table table #days ~ tr td {
    padding-top: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}
.site-content #afterbig1 {
    max-width: 90% !important;
    margin: auto;
}
.custom_calendar .year_bttntopleft > div {
    width: 100%;
    background-color: transparent !important;
    max-width: 100px !important;
    border: 2px solid #fff !important;
    margin-left: 20px !important;
}
.custom_calendar .year_bttntopright > div {
    width: 100%;
    background-color: transparent !important;
    max-width: 100px !important;
    border: 2px solid #fff !important;
    margin-right: 20px !important;
    float: right;
}
.custom_calendar #afterbig1 .views, .custom_calendar #bigcalendar1 .views {
    background-color: transparent !important;
}
.custom_calendar #afterbig1 .views span, .custom_calendar #bigcalendar1 .views span {
    color: #012243 !important;
    font-weight: bold;
}
.custom_calendar #cal_event p {
    color: #012243 !important;
}
.language-div{
    height: 74px !important;
    line-height: 74px !important;
    vertical-align: middle;
    display: flex;
    align-items: center;
}
.language-div .gtranslate_wrapper .gt_option{
  position: absolute;
}
.language-div .gt_container--uzrw1r .gt_switcher a {
  font-size: 13px;
}
.language-div .gt_float_switcher .gt-selected .gt-current-lang{
  display: flex;
  gap: 4px;
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
}
.language-div .gt_float_switcher .gt-selected .gt-current-lang .gt_float_switcher-arrow{
  margin-left: 5px;
}
.language-div .gt_float_switcher .gt-selected .gt-current-lang img{
  width: 22px;
}
.language-div #gt_float_wrapper{
  position: relative;
  display: flex;
}
.language-div .gt_float_switcher .gt_options{
  position: absolute;
  background: #fff;
  width: max-content;
    overflow-x: hidden;
}
.language-div .gt_float_switcher .gt_options > a{
    font-size: 14px;
    display: flex;
}
.language-div .gt_float_switcher .gt_options > a > img{
    width: 25px;
}
@media (min-width: 1400px) {
    .custom_calendar .general_table tr table tr td > p {
        font-size: 24px !important;
    }
   .custom_calendar .events_div div > a b, .custom_calendar .thickbox-previewbigcalendar1 b {
        font-size: 17px;
    }
}
@media (max-width: 1920px) and (min-width: 1600px) {
    #main .slick-list.draggable, .content-area-home .banner-img, .new_banner_section, .banner_height_450, .single-sfwd-courses .course-header .without_login .image img {
        min-height: 540px !important;
    }
}
@media (max-width:767px) {
	.home-banner-heading{
		    font-size: 50px !important;
	}
	.vc_row.wpb_row.vc_inner.vc_row-fluid.who_we_are_logo.vc_row-o-content-middle.vc_row-flex {
	    flex-wrap: inherit !important;
	}
	.schedule-section-home .wpb_column.vc_column_container.vc_col-sm-6, .schedule-section-home h2.vc_custom_heading.vc_do_custom_heading {
	    text-align: center !important;
	}
	.vc_row.wpb_row.vc_inner.vc_row-fluid.mx-auto.course_refresher_logo {
	    display: block !important;
	}
	.workshops_img .img.vc_single_image-img.attachment-full {
	    width: 50%;
	}
	.course_ref_section, .pro_serv_section, .who_we_are_section {
    		padding-top: 0px !important;
	}
	.single-course-completed-badge {
        	top: 12%;
        	left: 70%;
    	}
	.bb-course-list.bb-course-items.grid-view .course-completed-badge{
		top: 45%;
		left: 50%;
	}
}
